<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <#include "/include/base/header.ftl">
    <style>
        .table-head{
            background-color: #f2f6fc;color: #303133;
        }
        .form-unit{
            font-size: 14px;
        }
        .form-unit i{
            margin-right: 5px;
        }
        .money{
            color: #f56c6c;
        }
    </style>
    <style>
        .order_status{height:120px;padding-top: 60px;padding-left: 50px}
        .order_status .s-step{float: left;width: 18%;height: 60px;position: relative;}
        .order_status .s-step:nth-child(6n){width:0px;}
        .order_status .s-step.active{float: left;width: 18%;height: 60px;position: relative;}
        .order_status .s-step.active>b>b{background-color: #f2572c}
        .order_status .s-step>b{display: block;width: 32px;height:32px;line-height: 32px;border-radius: 32px;position: absolute;margin-left: -16px;top: -39px;background: #ddd;z-index: 87}
        .order_status .s-step>b>b{display: block;width: 26px;height: 26px;line-height: 26px;border-radius: 26px;background: #ccc;margin-top: 3px;margin-left: 3px;z-index: 88}
        .order_status .s-step>p{width: 135px;height: 10px;background: #ddd;top: -28px;position: absolute;z-index: 86}
        .order_status .s-step.active>p{width: 135px;height: 10px;background: #f2572c;top: -28px;position: absolute;z-index: 86}
        .order_status .s-step em{display: block;padding-top: 10px;font-style: normal;text-align: center;color: #b7b7b7;font-size: 12px;margin-left: -65px;width: 130px}
        .order_status .s-step>div{display: block;width:80px;height:32px;line-height: 32px;position: absolute;margin-left: -40px;top: -65px;z-index: 87;text-align: center;font-size: 12px;color: #c9c4c4}
        .order_status .s-step.active>div{display: block;width:80px;height:32px;line-height: 32px;position: absolute;margin-left: -40px;top: -65px;z-index: 87;text-align: center;font-size: 12px;color: #f2572c}
        .order_status .s-step:last-child>p{
            display: none;
        }
    </style>
</head>
<body>
<div class="wrapper">
    <div class="main-content">
        <div class="box box-main">
            <div class="box-body" style="padding: 20px;">
                <div>
                    <div class="order_status">
                        <#list mallOrder.mallOrderOperateHistoryList as orderOperateHistory>
                            <span class="s-step active">
                              <b><b></b></b> <p></p>
                              <em>${orderOperateHistory.createTime?string('yyyy-MM-dd HH:mm:ss')}</em>
                              <div>${orderOperateHistory.operateNote}</div>
                            </span>
                        </#list>
                    </div>
                </div>
                <div class="form-unit no-margin"><i class="fa fa-list-alt"></i>基本信息</div>
                <div class="row">
                    <div class="col-xs-12">
                        <table class="table table-bordered table-hover">
                            <tr class="table-head">
                                <td width="180">订单编号</td>
                                <td width="180">订单状态</td>
                                <td width="180">下单时间</td>
                                <td>支付金额</td>
                            </tr>
                            <tr>
                                <td>${mallOrder.orderSn}</td>
                                <td>${mallOrder.showStatus}</td>
                                <td>${mallOrder.createTime?string('yyyy-MM-dd HH:mm:ss')}</td>
                                <td class="money">￥${(mallOrder.orderPayMoney/100)?string('0.00')}</td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="form-unit no-margin"><i class="fa fa-list-alt"></i>商品信息</div>
                <div class="row">
                    <div class="col-xs-12">
                        <table class="table table-bordered table-hover">
                            <tr class="table-head">
                                <td width="75">商品图片</td>
                                <td>商品名称</td>
                                <td width="75">商品价格</td>
                                <td width="75">商品数量</td>
                            </tr>
                            <#list mallOrder.orderItemList as orderItem>
                                <tr>
                                    <td style="text-align: center;vertical-align: middle;"><img src="${orderItem.goodsPic}" style="width: 40px;height: 40px;"/></td>
                                    <td>${orderItem.goodsName}</td>
                                    <td style="vertical-align: middle;" class="money">￥${(orderItem.goodsPrice/100)?string('0.00')}</td>
                                    <td style="vertical-align: middle;">${orderItem.goodsNum}</td>
                                </tr>
                            </#list>
                        </table>
                    </div>
                </div>
                <div class="form-unit no-margin"><i class="fa fa-list-alt"></i>收货人信息</div>
                <div class="row">
                    <div class="col-xs-12">
                        <table class="table table-bordered table-hover">
                            <tr class="table-head">
                                <td width="180">收货人</td>
                                <td width="180">手机号码</td>
                                <td>收货地址</td>
                            </tr>
                            <tr>
                                <td>${mallOrder.mallOrderAddress.receiverName}</td>
                                <td>${mallOrder.mallOrderAddress.phone}</td>
                                <td>${mallOrder.mallOrderAddress.provinceName!}${mallOrder.mallOrderAddress.cityName!}${mallOrder.mallOrderAddress.areaName!}${mallOrder.mallOrderAddress.address}</td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="form-unit no-margin"><i class="fa fa-list-alt"></i>费用信息</div>
                <div class="row">
                    <div class="col-xs-12">
                        <table class="table table-bordered table-hover">
                            <tr class="table-head">
                                <td width="180">购物车总金额</td>
                                <td width="180">订单运费</td>
                                <td>订单优惠</td>
                                <td>订单代金券</td>
                                <td>支付金额</td>
                            </tr>
                            <tr>
                                <td class="money">￥${(mallOrder.cartTotalMoney/100)?string('0.00')}</td>
                                <td class="money">￥${(mallOrder.orderFreightMoney/100)?string('0.00')}</td>
                                <td class="money">￥${(mallOrder.orderDiscountMoney/100)?string('0.00')}</td>
                                <td class="money">￥${(mallOrder.orderCashCouponMoney/100)?string('0.00')}</td>
                                <td class="money">￥${(mallOrder.orderPayMoney/100)?string('0.00')}</td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="form-unit no-margin"><i class="fa fa-list-alt"></i>操作信息</div>
                <div class="row">
                    <div class="col-xs-12">
                        <table class="table table-bordered table-hover">
                            <tr class="table-head">
                                <td width="180">操作时间</td>
                                <td width="180">操作人</td>
                                <td>操作记录</td>
                            </tr>
                            <#list mallOrder.mallOrderOperateHistoryList as operateHistory>
                                <tr>
                                    <td>${operateHistory.createTime?string('yyyy-MM-dd HH:mm:ss')}</td>
                                    <td>${operateHistory.operateMan}</td>
                                    <td>${operateHistory.operateNote}</td>
                                </tr>
                            </#list>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<#include "/include/base/footer.ftl">
</html>